package com.frejoys.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.frejoys.common.vo.app.StoreEnterListVo;
import com.frejoys.common.vo.app.VerifyStoreListVo;
import com.frejoys.dao.entity.AdminVerify;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.stream.Stream;

public interface AdminVerifyMapper extends BaseMapper<AdminVerify> {

    /**
     * 查询商家入驻审核信息
     * @param page
     * @param storeEnterId
     * @param value
     * @return
     */
    List<StoreEnterListVo> agentStoreEnterInfo(@Param("page") Page page,@Param("storeEnterId") List<Integer> storeEnterId,@Param("type") Integer type);

    List<VerifyStoreListVo> storeList(@Param("page") Page page,@Param("gentStoreIds") List<Integer> agentStoreIds,@Param("type") Integer type);

    //查询审核 类型 和 状态
    List<AdminVerify> getVerifyTypeAndStatus(@Param("page") Page page,@Param("goodsIds") List<Integer> goodsIds,@Param("type") Integer type);
}
